package com.jspgou.cms.dao;

import java.util.List;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.Advertise;

public interface AdvertiseDao {
	public Pagination getPage(Long storeId,Long adspaceId,Boolean enabled, int pageNo, int pageSize);

	public List<Advertise> getList(Long adspaceId, Boolean enabled);

	public Advertise findById(Long id);

	public Advertise save(Advertise bean);

	public Advertise updateByUpdater(Updater<Advertise> updater);

	public Advertise deleteById(Long id);
}